import React, {Component} from 'react';
import {
    StyleSheet,
    ScrollView,
} from 'react-native';
import {Button, Input} from 'react-native-elements'
import {Toast} from 'teaset'
import {View} from 'react-native-ui-lib'

import colors from "../common/colors";
import Global from '../common/global'
import Util from '../common/util'
import Api from '../common/api'


export default class Login extends Component {

    static navigationOptions =({navigation, screenProps}) => ({
        headerTintColor: colors.headerText,
        headerTitle: '身份确认',
        headerStyle: {
            backgroundColor: colors.headerBg,
            borderBottomColor: colors.headerBottom,
            paddingTop: Global.paddingTop,
            height: Global.navigationHeaderHeight
        },
        headerTitleStyle: {
            alignSelf: 'center',
        },
        headerRight: <View/>,
        headerBackTitle: null
    })

    constructor(props) {
        super(props);

        this.state = {
            isLoading: false
        };
    }

    changeLoadingStatus = (flag) => {
        this.setState({
            isLoading : flag
        })
    }


    render() {
        return (
            <View style={styles.container}>
                <ScrollView style={{flex:1}}>
                </ScrollView>
            </View>
        );
    }
}

const styles = StyleSheet.create({
    container: {
        flex: 1,
        backgroundColor: colors.bgColor,
    },
});
